<%@ page import="com.hotcars.model.Car" %>
<html>
<head><title>Hotcars - Detail</title></head>
<body>
	<h2>Car Detail Page</h2>
	<% 
		Car c = (Car) request.getAttribute("car");
		out.print("<h3>" + c.getMake() + " " + c.getModel() + " " + c.getYear() + "        $" + c.getPrice() +  "</h3>");
		out.print("VIN: <b>" + c.getVin() + "</b><br>");
		out.print("Miles: <b>" + c.getMileage() + "</b> Miles<br>");
		out.print("Engine: <b>" + c.getEngine() + "</b><br>");
		out.print("Transmission: <b>" + c.getTransmission() + "</b><br>");
		out.print("Body: <b>" + c.getBodyStyle() + "</b><br>");
		out.print("Exterior: <b>" + c.getExterior() + "</b><br>");
		out.print("Interior: <b>" + c.getInterior() + "</b><br>");				
	%>	
</body>
</html>
